package com.ssm.server.sendgoods.dao;

import com.ssm.server.sendgoods.model.SendGoods;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zhangyibo
 */
@Repository
public interface SendGoodsDao {
    public List<SendGoods> getSendGoods(@Param("userId") int userId,@Param("state") int state,@Param("countSize")int countSize,@Param("pageCount")int pageCount);
    public void saveSendGoods(SendGoods sendGoods);
    public SendGoods getSendGoodsByorderNumber(String orderNumber);
    public void updateSendGoodsState(int id);
}
